home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / tcsh / dist / tc.const.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-21  |  13.1 KB  |  263 lines

  1. /* $Header: /home/hyperion/mu/christos/src/sys/tcsh-6.01/RCS/tc.const.c,v 3.7 1991/11/22 02:28:12 christos Exp $ */
  2. /*
  3.  * sh.const.c: String constants for tcsh.
  4.  */
  5. /*-
  6.  * Copyright (c) 1980, 1991 The Regents of the University of California.
  7.  * All rights reserved.
  8.  *
  9.  * Redistribution and use in source and binary forms, with or without
  10.  * modification, are permitted provided that the following conditions
  11.  * are met:
  12.  * 1. Redistributions of source code must retain the above copyright
  13.  *    notice, this list of conditions and the following disclaimer.
  14.  * 2. Redistributions in binary form must reproduce the above copyright
  15.  *    notice, this list of conditions and the following disclaimer in the
  16.  *    documentation and/or other materials provided with the distribution.
  17.  * 3. All advertising materials mentioning features or use of this software
  18.  *    must display the following acknowledgement:
  19.  *    This product includes software developed by the University of
  20.  *    California, Berkeley and its contributors.
  21.  * 4. Neither the name of the University nor the names of its contributors
  22.  *    may be used to endorse or promote products derived from this software
  23.  *    without specific prior written permission.
  24.  *
  25.  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  26.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  27.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  28.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  29.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  30.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  31.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  32.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  33.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  34.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  35.  * SUCH DAMAGE.
  36.  */
  37. #include "sh.h"
  38.  
  39. RCSID("$Id: tc.const.c,v 3.7 1991/11/22 02:28:12 christos Exp $")
  40.  
  41. Char STRlogout[]        = { 'l', 'o', 'g', 'o', 'u', 't', '\0' };
  42. Char STRautologout[]    = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't', 
  43.                 '\0' };
  44. Char STRdefautologout[] = { '6', '0', '\0' };
  45. Char STRautomatic[]     = { 'a', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', '\0' };
  46. Char STRaout[]          = { 'a', '.', 'o', 'u', 't', '\0' };
  47. Char STRtty[]           = { 't', 't', 'y', '\0' };
  48. Char STRany[]           = { 'a', 'n', 'y', '\0' };
  49. Char STRstatus[]        = { 's', 't', 'a', 't', 'u', 's', '\0' };
  50. Char STR0[]             = { '0', '\0' };
  51. Char STR1[]             = { '1', '\0' };
  52. Char STRNULL[]          = { '\0' };
  53. Char STRtcsh[]          = { 't', 'c', 's', 'h', '\0' };
  54. Char STRhome[]          = { 'h', 'o', 'm', 'e', '\0' };
  55. Char STRuser[]          = { 'u', 's', 'e', 'r', '\0' };
  56. Char STRterm[]          = { 't', 'e', 'r', 'm', '\0' };
  57. Char STRversion[]       = { 'v', 'e', 'r', 's', 'i', 'o', 'n', '\0' };
  58. Char STRuid[]           = { 'u', 'i', 'd', '\0' };
  59. Char STRgid[]           = { 'g', 'i', 'd', '\0' };
  60. Char STRHOST[]          = { 'H', 'O', 'S', 'T', '\0' };
  61. Char STRHOSTTYPE[]      = { 'H', 'O', 'S', 'T', 'T', 'Y', 'P', 'E', '\0' };
  62. Char STRedit[]          = { 'e', 'd', 'i', 't', '\0' };
  63. Char STRaddsuffix[]     = { 'a', 'd', 'd', 's', 'u', 'f', 'f', 'i', 'x', '\0' };
  64. Char STRshell[]         = { 's', 'h', 'e', 'l', 'l', '\0' };
  65. Char STRtmpsh[]         = { '/', 't', 'm', 'p', '/', 's', 'h', '\0' };
  66. Char STRverbose[]       = { 'v', 'e', 'r', 'b', 'o', 's', 'e', '\0' };
  67. Char STRecho[]          = { 'e', 'c', 'h', 'o', '\0' };
  68. Char STRpath[]          = { 'p', 'a', 't', 'h', '\0' };
  69. Char STRprompt[]        = { 'p', 'r', 'o', 'm', 'p', 't', '\0' };
  70. Char STRprompt2[]       = { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' };
  71. Char STRprompt3[]       = { 'p', 'r', 'o', 'm', 'p', 't', '3', '\0' };
  72. Char STRcwd[]           = { 'c', 'w', 'd', '\0' };
  73. Char STRstar[]          = { '*', '\0' };
  74. Char STRdot[]           = { '.', '\0' };
  75. Char STRhistory[]     = { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
  76. Char STRhistfile[]     = { 'h', 'i', 's', 't', 'f', 'i', 'l', 'e', '\0' };
  77. Char STRsource[]        = { 's', 'o', 'u', 'r', 'c', 'e', '\0' };
  78. Char STRmh[]            = { '-', 'h', '\0' };
  79. Char STRtildothist[]    = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r', 
  80.                     'y', '\0' };
  81.  
  82. #ifdef CSHDIRS
  83. Char STRdirfile[]     = { '~', '/', '.', 'c', 's', 'h', 'd', 'i', 'r',
  84.                           's', '\0' };
  85. Char STRsldtdirs[]    = { '/', '.', 'c', 's', 'h', 'd', 'i', 'r', 's', '\0' };
  86. Char STRsavedirs[]    = { 's', 'a', 'v', 'e', 'd', 'i', 'r', 's', '\0' };
  87. #endif
  88.  
  89. Char STRargv[]          = { 'a', 'r', 'g', 'v', '\0' };
  90. Char STRsavehist[]      = { 's', 'a', 'v', 'e', 'h', 'i', 's', 't', '\0' };
  91. Char STRsldthist[]      = { '/', '.', 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
  92. Char STRnormal[]        = { 'n', 'o', 'r', 'm', 'a', 'l', '\0' };
  93. Char STRsldtlogout[]    = { '/', '.', 'l', 'o', 'g', 'o', 'u', 't', '\0' };
  94. Char STRjobs[]          = { 'j', 'o', 'b', 's', '\0' };
  95. Char STRsymhash[]       = { '#', ' ', '\0' };
  96. Char STRsymarrow[]      = { '>', ' ', '\0' };
  97. Char STRmquestion[]     = { '%', 'R', '?' | QUOTE, ' ', '\0' };
  98. Char STRCORRECT[]       = { 'C', 'O', 'R', 'R', 'E', 'C', 'T', '>', '%', 'R', 
  99.                 ' ', '(', 'y', '|', 'n', '|', 'e', ')', 
  100.                 '?' | QUOTE, ' ', '\0' };
  101. Char STRunalias[]       = { 'u', 'n', 'a', 'l', 'i', 'a', 's', '\0' };
  102. Char STRalias[]         = { 'a', 'l', 'i', 'a', 's', '\0' };
  103. Char STRprecmd[]        = { 'p', 'r', 'e', 'c', 'm', 'd', '\0' };
  104. Char STRcwdcmd[]        = { 'c', 'w', 'd', 'c', 'm', 'd', '\0' };
  105. Char STRperiodic[]      = { 'p', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\0' };
  106. Char STRtperiod[]       = { 't', 'p', 'e', 'r', 'i', 'o', 'd', '\0' };
  107. Char STRml[]        = { '-', 'l', '\0' };
  108. Char STRslash[]        = { '/', '\0' };
  109. Char STRdotsl[]        = { '.', '/', '\0' };
  110. Char STRdotdotsl[]    = { '.', '.', '/', '\0' };
  111. Char STRcdpath[]    = { 'c', 'd', 'p', 'a', 't', 'h', '\0' };
  112. Char STRpushdtohome[]    = { 'p', 'u', 's', 'h', 'd', 't', 'o', 'h', 'o', 'm',
  113.                 'e', '\0' };
  114. Char STRpushdsilent[]    = { 'p', 'u', 's', 'h', 'd', 's', 'i', 'l', 'e', 'n',
  115.                 't', '\0' };
  116. Char STRdextract[]    = { 'd', 'e', 'x', 't', 'r', 'a', 'c', 't', '\0' };
  117. Char STRignore_symlinks[] = { 'i', 'g', 'n', 'o', 'r', 'e', '_', 's', 'y', 'm',
  118.                 'l', 'i', 'n', 'k', 's', '\0' };
  119. Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l', 
  120.                 'i', 'n', 'k', 's', '\0' };
  121. Char STRPWD[]        = { 'P', 'W', 'D', '\0' };
  122. Char STRor2[]        = { '|', '|', '\0' };
  123. Char STRand2[]        = { '&', '&', '\0' };
  124. Char STRor[]        = { '|', '\0' };
  125. Char STRcaret[]        = { '^', '\0' };
  126. Char STRand[]        = { '&', '\0' };
  127. Char STRequal[]        = { '=', '\0' };
  128. Char STRbang[]        = { '!', '\0' };
  129. Char STRtilde[]        = { '~', '\0' };
  130. Char STRLparen[]    = { '(', '\0' };
  131. Char STRLbrace[]    = { '{', '\0' };
  132. Char STRfakecom[]    = { '{', ' ', '.', '.', '.', ' ', '}', '\0' };
  133. Char STRRbrace[]    = { '}', '\0' };
  134. Char STRPATH[]         = { 'P', 'A', 'T', 'H', '\0' };
  135. Char STRdefault[]    = { 'd', 'e', 'f', 'a', 'u', 'l', 't', '\0' };
  136. Char STRmn[]        = { '-', 'n', '\0' };
  137. Char STRminus[]        = { '-', '\0' };
  138. Char STRnoglob[]    = { 'n', 'o', 'g', 'l', 'o', 'b', '\0' };
  139. Char STRnonomatch[]    = { 'n', 'o', 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
  140. Char STRfakecom1[]    = { '`', ' ', '.', '.', '.', ' ', '`', '\0' };
  141. Char STRampm[]        = { 'a', 'm', 'p', 'm', '\0' };
  142. Char STRchild[]        = { 'c', 'h', 'i', 'l', 'd', '\0' };
  143. Char STRtime[]        = { 't', 'i', 'm', 'e', '\0' };
  144. Char STRnotify[]    = { 'n', 'o', 't', 'i', 'f', 'y', '\0' };
  145. Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v', 
  146.                 'a', 'l', 'u', 'e', '\0' };
  147. Char STRLparensp[]    = { '(', ' ', '\0' };
  148. Char STRspRparen[]    = { ' ', ')', '\0' };
  149. Char STRspace[]        = { ' ', '\0' };
  150. Char STRspor2sp[]    = { ' ', '|', '|', ' ', '\0' };
  151. Char STRspand2sp[]    = { ' ', '&', '&', ' ', '\0' };
  152. Char STRsporsp[]    = { ' ', '|', ' ', '\0' };
  153. Char STRsemisp[]    = { ';', ' ', '\0' };
  154. Char STRsemi[]        = { ';', '\0' };
  155. Char STRQQ[]        = { '"', '"', '\0' };
  156. Char STRBB[]        = { '[', ']', '\0' };
  157. Char STRspLarrow2sp[]    = { ' ', '<', '<', ' ', '\0' };
  158. Char STRspLarrowsp[]    = { ' ', '<', ' ', '\0' };
  159. Char STRspRarrow2[]    = { ' ', '>', '>', '\0' };
  160. Char STRspRarrow[]    = { ' ', '>', '\0' };
  161. Char STRgt[]        = { '>', '\0' };
  162. Char STRsp3dots[]    = { ' ', '.', '.', '.', '\0' };
  163. Char STRcent2[]     = { '%', '%', '\0' };
  164. Char STRcentplus[]     = { '%', '+', '\0' };
  165. Char STRcentminus[]     = { '%', '-', '\0' };
  166. Char STRcenthash[]     = { '%', '#', '\0' };
  167. #ifdef BSDJOBS
  168. Char STRcontinue[]    = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\0' };
  169. Char STRcontinue_args[]    = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '_', 'a',
  170.                 'r', 'g', 's', '\0' };
  171. Char STRunderpause[]    = { '_', 'p', 'a', 'u', 's', 'e', '\0' };
  172. #endif
  173. Char STRbackqpwd[]    = { '`', 'p', 'w', 'd', '`', '\0' };
  174. Char STRhistchars[]    = { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' };
  175. Char STRhistlit[]    = { 'h', 'i', 's', 't', 'l', 'i', 't', '\0' };
  176. Char STRUSER[]        = { 'U', 'S', 'E', 'R', '\0' };
  177. Char STRLOGNAME[]    = { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' };
  178. Char STRwordchars[]    = { 'w', 'o', 'r', 'd', 'c', 'h', 'a', 'r', 's', '\0' };
  179. Char STRTERM[]        = { 'T', 'E', 'R', 'M', '\0' };
  180. Char STRHOME[]        = { 'H', 'O', 'M', 'E', '\0' };
  181. Char STRbackslash_quote[] = { 'b', 'a', 'c', 'k', 's', 'l', 'a', 's', 'h', '_',
  182.                  'q', 'u', 'o', 't', 'e', '\0' };
  183. Char STRRparen[]    = { ')', '\0' };
  184. Char STRcolon[]        = { ':', '\0' };
  185. Char STRmail[]        = { 'm', 'a', 'i', 'l', '\0' };
  186. Char STRwatch[]        = { 'w', 'a', 't', 'c', 'h', '\0' };
  187.  
  188. Char STRsldottcshrc[]    = { '/', '.', 't', 'c', 's', 'h', 'r', 'c', '\0' };
  189. Char STRsldotcshrc[]    = { '/', '.', 'c', 's', 'h', 'r', 'c', '\0' };
  190. Char STRsldotlogin[]    = { '/', '.', 'l', 'o', 'g', 'i', 'n', '\0' };
  191. Char STRignoreeof[]    = { 'i', 'g', 'n', 'o', 'r', 'e', 'e', 'o', 'f', '\0' };
  192. Char STRnoclobber[]    = { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' };
  193. Char STRhelpcommand[]    = { 'h', 'e', 'l', 'p', 'c', 'o', 'm', 'm', 'a', 'n', 
  194.                 'd', '\0' };
  195. Char STRfignore[]    = { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' };
  196. Char STRrecexact[]    = { 'r', 'e', 'c', 'e', 'x', 'a', 'c', 't', '\0' };
  197. Char STRlistmax[]    = { 'l', 'i', 's', 't', 'm', 'a', 'x', '\0' };
  198. Char STRlistlinks[]    = { 'l', 'i', 's', 't', 'l', 'i', 'n', 'k', 's', '\0' };
  199. Char STRDING[]        = { 'D', 'I', 'N', 'G', '!', '\0' };
  200. Char STRQNULL[]        = { '\0' | QUOTE, '\0' };
  201. Char STRcorrect[]    = { 'c', 'o', 'r', 'r', 'e', 'c', 't', '\0' };
  202. Char STRcmd[]        = { 'c', 'm', 'd', '\0' };
  203. Char STRall[]        = { 'a', 'l', 'l', '\0' };
  204. Char STRautoexpand[]    = { 'a', 'u', 't', 'o', 'e', 'x', 'p', 'a', 'n', 'd',
  205.                 '\0' };
  206. Char STRautocorrect[]    = { 'a', 'u', 't', 'o', 'c', 'o', 'r', 'r', 'e', 'c',
  207.                 't', '\0' };
  208. Char STRautolist[]    = { 'a', 'u', 't', 'o', 'l', 'i', 's', 't', '\0' };
  209. Char STRbeepcmd[]    = { 'b', 'e', 'e', 'p', 'c', 'm', 'd', '\0' };
  210. Char STRmatchbeep[]    = { 'm', 'a', 't', 'c', 'h', 'b', 'e', 'e', 'p', '\0' };
  211. Char STRnomatch[]    = { 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
  212. Char STRambiguous[]    = { 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', '\0' };
  213. Char STRnotunique[]    = { 'n', 'o', 't', 'u', 'n', 'i', 'q', 'u', 'e', '\0' };
  214. Char STRret[]        = { '\n', '\0' };
  215. Char STRnobeep[]    = { 'n', 'o', 'b', 'e', 'e', 'p', '\0' };
  216. Char STRnoambiguous[]    = { 'n', 'o', 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 
  217.                 's', '\0' };
  218. Char STRvisiblebell[]    = { 'v', 'i', 's', 'i', 'b', 'l', 'e', 'b', 'e', 'l', 
  219.                 'l', '\0' };
  220. Char STRrecognize_only_executables[] = { 'r', 'e', 'c', 'o', 'g', 'n', 'i', 'z',
  221.                      'e', '_', 'o', 'n', 'l', 'y', '_', 'e',
  222.                      'x', 'e', 'c', 'u', 't', 'a', 'b', 'l',
  223.                      'e', 's', '\0' };
  224. Char STRinputmode[]    = { 'i', 'n', 'p', 'u', 't', 'm', 'o', 'd', 'e', '\0' };
  225. Char STRoverwrite[]    = { 'o', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', '\0' };
  226. Char STRinsert[]    = { 'i', 'n', 's', 'e', 'r', 't', '\0' };
  227. Char STRnohup[]        = { 'n', 'o', 'h', 'u', 'p', '\0' };
  228. Char STRnice[]        = { 'n', 'i', 'c', 'e', '\0' };
  229. Char STRlistpathnum[]    = { 'l', 'i', 's', 't', 'p', 'a', 't', 'h', 'n', 'u', 
  230.                 'm', '\0' };
  231. Char STRshowdots[]    = { 's', 'h', 'o', 'w', 'd', 'o', 't', 's', '\0' };
  232. Char STRthen[]        = { 't', 'h', 'e', 'n', '\0' };
  233. Char STReof[]        = { '^', 'D', '\b', '\b', '\0' };
  234. Char STRlistjobs[]    = { 'l', 'i', 's', 't', 'j', 'o', 'b', 's', '\0' };
  235. Char STRlong[]        = { 'l', 'o', 'n', 'g', '\0' };
  236. Char STRwho[]        = { 'w', 'h', 'o', '\0' };
  237. Char STRrmstar[]        = { 'r', 'm', 's', 't', 'a', 'r', '\0' };
  238. Char STRrm[]            = { 'r', 'm', '\0' };
  239. Char STRshlvl[]        = { 's', 'h', 'l', 'v', 'l', '\0' };
  240. Char STRSHLVL[]        = { 'S', 'H', 'L', 'V', 'L', '\0' };
  241.  
  242. Char STRLANG[]  = { 'L', 'A', 'N', 'G', '\0' };
  243. Char STRLC_CTYPE[] = { 'L', 'C', '_', 'C', 'T', 'Y', 'P', 'E' ,'\0' };
  244. Char STRNOREBIND[] = { 'N', 'O', 'R', 'E', 'B', 'I', 'N', 'D', '\0' };
  245.  
  246. #ifdef SIG_WINDOW
  247. Char STRLINES[] = { 'L', 'I', 'N', 'E', 'S', '\0'};
  248. Char STRCOLUMNS[] = { 'C', 'O', 'L', 'U', 'M', 'N', 'S', '\0'};
  249. Char STRTERMCAP[] = { 'T', 'E', 'R', 'M', 'C', 'A', 'P', '\0'};
  250. #endif /* SIG_WINDOW */
  251.  
  252. #ifdef WARP
  253. Char STRwarp[] = { 'w', 'a', 'r', 'p', '\0' };
  254. #endif /* WARP */
  255.  
  256. #ifdef apollo
  257. Char STRSYSTYPE[] = { 'S', 'Y', 'S', 'T', 'Y', 'P', 'E', '\0' };
  258. Char STRoid[] = { 'o', 'i', 'd', '\0' };
  259. Char STRbsd43[] = { 'b', 's', 'd', '4', '.', '3', '\0' };
  260. Char STRsys53[] = { 's', 'y', 's', '5', '.', '3', '\0' };
  261. Char STRver[] = { 'v', 'e', 'r', '\0' };
  262. #endif /* apollo */
  263.